package com.ruoyi.pingjiao.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评教活动管理对象 evalution_activity
 * 
 * @author 胡浩鹏
 * @date 2022-10-22
 */
public class EvalutionActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价活动id */
    private Long evalutionActivityId;

    /** 评教问卷id */
    private Long evaluationPaperId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 学期 */
    @Excel(name = "学期")
    private String term;

    /** 评价次数 */
    @Excel(name = "评价次数")
    private Long time;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 是否删除 */
    private String delFlag;

    /** 课程类型 */
    private String courseType;

    private EvaluationPaper evaluationPaper;

    public EvalutionActivity setEvalutionActivityId(Long evalutionActivityId)
    {
        this.evalutionActivityId = evalutionActivityId;
        return null;
    }

    public Long getEvalutionActivityId() 
    {
        return evalutionActivityId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTerm(String term) 
    {
        this.term = term;
    }

    public String getTerm() 
    {
        return term;
    }
    public void setTime(Long time) 
    {
        this.time = time;
    }

    public Long getTime() 
    {
        return time;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Long getEvaluationPaperId() {
        return evaluationPaperId;
    }

    public void setEvaluationPaperId(Long evaluationPaperId) {
        this.evaluationPaperId = evaluationPaperId;
    }

    public EvaluationPaper getEvaluationPaper() {
        return evaluationPaper;
    }

    public void setEvaluationPaper(EvaluationPaper evaluationPaper) {
        this.evaluationPaper = evaluationPaper;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("evalutionActivityId", getEvalutionActivityId())
            .append("title", getTitle())
            .append("term", getTerm())
            .append("time", getTime())
            .append("status", getStatus())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
